Factor out a function
authorMatthias Clasen <mclasen@redhat.com>
Sat, 27 Sep 2014 03:28:55 +0000 (23:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 Sep 2014 03:30:29 +0000 (23:30 -0400)
commitf35dff334fc9e52582fd49d47440f4b1f0e7e91b
tree365b4e0c8dbe8080ce2b77ea1057d9d037a6251e
parent0c2f3402c3214ae8daa37a3aa350db31ed5e5ddc
Factor out a function

Factor out the typename-to-get-type mangling as a separate
function, for easier testing.

Also fix some cases where it doesn't, currently, like
GString -> g_string_get_type and
GdkRGB -> gdk_rgb_get_type
gtk/gtkbuilder.c